package com.googlecode.cswish.struts.hibernate;

import java.io.Serializable;
import java.util.Map;

/**
 * Identify the model is dynamic
 * 	 
 * @author jerry.feng Date: 2009-2-9
 */
public interface IDynamicModel extends Map<String, Object> , Serializable {
	// DynamicMapInstantiator.KEY
	public static String ENTITY_NAME = "$type$";
	
	public String getEntityName();
	
	public void setEntityName(String entityName);
	
	// valueStack.context
	public void setContext(Map context);
}